﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeBehind="monitor_add.aspx.cs" Inherits="HYSoft.Web.monitor_add" %>

<%@ Register Src="~/Controls/menuhoutai.ascx" TagName="menuhoutai" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>地质灾害物联网监测系统远程控制平台</title>
    <script src="JS/ling.chinaArea-1.0.js" type="text/javascript"></script>
    <script type="text/javascript">
        function initcitydata() {
            $ling.chinaArea.init('<%=selProvince1.ClientID %>', '<%=selCity1.ClientID %>', '<%=selDistrict1.ClientID %>', '<%=address.ClientID %>'); 
        }
    </script>
    <style type="text/css">
        .main
        {
            margin-left: auto; 
            margin-right: auto;
            width: 1140px;
            height: auto;
            background-color: White;
        }
        
        .style2
        {
            width: 20px;
        }
        .style1
        {
            width: 200px;
        }
        .table
        {
            margin-top: 10px;
            height: 500px;
            width: 99%;
        }
        .table input, select
        {
            width: 200px;
        }
        .part_wss
        {
            width: 790px;
            margin-left: auto;
            margin-right: auto;
            border-top: 1px solid #b1b1b1;
            border-left: 1px solid #b1b1b1;
            border-right: 1px solid #b1b1b1;
            text-align: left;
        }
        .part_ws_bt
        {
            height: 34px;
            line-height: 34px;
            background: url(../Images/biaotilan.png) no-repeat;
            font-family: "微软雅黑";
            font-size: 14px;
            padding-left: 22px;
            color: #fff;
            letter-spacing: 1px;
        }
        .part_7
        {
            width: 787px;
            margin: auto;
            font-size: 9px;
        }
        .part_7_left
        {
            width: 55%;
            height: auto;
            float: left;
        }
        .part_a1
        {
            width: 787px;
            background-color: #FFFAFA;
            height: 500px;
        }
        .part_7_3
        {
            width: 789px;
            margin: auto;
            margin-bottom: 20px;
        }
        .part_7_right
        {
            width: 45%;
            float: left;
            margin-top: 50px;
            height: auto;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolderMenu" runat="server">
    <uc1:menuhoutai ID="menus" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentPlaceHolderMain" runat="server">
    <div class="main">
        <div>
            <img src="Images/top.PNG" /></div>
        <div class="part_wss">
            <div class="part_ws_bt">
                添加监测点</div>
            <div class="part_a1">
                <div class="part_7">
                    <div class="part_7_left">
                        <table width="95%" border="0" align="right" cellpadding="0" cellspacing="0" style="margin-top: 10px;">
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    所属单位：
                                </td>
                                <td style="text-align: left;" class="style1">
                                    <%=tounit1() %>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">所在区(县)：</span>
                                </td>
                                <td class="style3">
                                    <div>
                                        <select id="selProvince1" runat="server" style="width: 80px;display:none;">
                                        </select>
                                        <label style="display:none;">
                                            省</label>
                                        <select id="selCity1" runat="server" style="width: 80px;display:none;">
                                        </select>
                                        <label style="display:none;">
                                            市</label>
                                        <select id="selDistrict1" runat="server" style="width: 120px;">
                                        </select>
                                        <label>
                                            区/县</label>
                                       <input type="hidden" value="" runat="server" id="address" />
                                    </div>
                                    <%--<asp:DropDownList ID="DropDownList23" runat="server">
                                                <asp:ListItem Value="北碚区">北碚区</asp:ListItem>                                                
                                                <asp:ListItem Value="渝中区">渝中区</asp:ListItem>
                                                <asp:ListItem Value="大渡口区">大渡口区</asp:ListItem>
                                                <asp:ListItem Value="江北区">江北区</asp:ListItem>
                                                <asp:ListItem Value="沙坪坝区">沙坪坝区</asp:ListItem>
                                                <asp:ListItem Value="九龙坡区">九龙坡区</asp:ListItem>
<asp:ListItem Value="南岸区">南岸区</asp:ListItem>
                                                <asp:ListItem Value="万州区">万州区</asp:ListItem>
                                                <asp:ListItem Value="涪陵区">涪陵区</asp:ListItem>
                                                <asp:ListItem Value="万盛区">万盛区</asp:ListItem>
                                                <asp:ListItem Value="双桥区">双桥区</asp:ListItem>
                                                <asp:ListItem Value="渝北区">渝北区</asp:ListItem>
                                                <asp:ListItem Value="巴南区">巴南区</asp:ListItem>
	                                            <asp:ListItem Value="黔江区">黔江区</asp:ListItem>
	                                            <asp:ListItem Value="长寿区">长寿区</asp:ListItem>
	                                            <asp:ListItem Value="江津区">江津区</asp:ListItem>
	                                            <asp:ListItem Value="合川区">合川区</asp:ListItem>
	                                            <asp:ListItem Value="永川区">永川区</asp:ListItem>
	                                            <asp:ListItem Value="南川区">南川区</asp:ListItem>
	                                            <asp:ListItem Value="北部新区">北部新区</asp:ListItem>
	                                            <asp:ListItem Value="经开区">经开区</asp:ListItem>
	                                            <asp:ListItem Value="高新区">高新区</asp:ListItem>
	                                            <asp:ListItem Value="綦江区">綦江区</asp:ListItem>
	                                            <asp:ListItem Value="潼南县">潼南县</asp:ListItem>
	                                            <asp:ListItem Value="铜梁县">铜梁县</asp:ListItem>
	                                            <asp:ListItem Value="大足县">大足县</asp:ListItem>
	                                            <asp:ListItem Value="荣昌县">荣昌县</asp:ListItem>
	                                            <asp:ListItem Value="璧山县">璧山县</asp:ListItem>
	                                            <asp:ListItem Value="梁平县">梁平县</asp:ListItem>
	                                            <asp:ListItem Value="城口县">城口县</asp:ListItem>
	                                            <asp:ListItem Value="丰都县">丰都县</asp:ListItem>
	                                            <asp:ListItem Value="垫江县">垫江县</asp:ListItem>
	                                            <asp:ListItem Value="武隆县">武隆县</asp:ListItem>
	                                            <asp:ListItem Value="忠县">忠县</asp:ListItem>
	                                            <asp:ListItem Value="开县">开县</asp:ListItem>
	                                            <asp:ListItem Value="云阳县">云阳县</asp:ListItem>
	                                            <asp:ListItem Value="奉节县">奉节县</asp:ListItem>
	                                            <asp:ListItem Value="巫山县">巫山县</asp:ListItem>
	                                            <asp:ListItem Value="巫溪县">巫溪县</asp:ListItem>
	                                            <asp:ListItem Value="石柱县">石柱县</asp:ListItem>
	                                            <asp:ListItem Value="秀山县">秀山县</asp:ListItem>
	                                            <asp:ListItem Value="酉阳县">酉阳县</asp:ListItem>
	                                            <asp:ListItem Value="彭水县">彭水县</asp:ListItem>
	                                            
                                                
                                                
                                                
                                                
                                                
                                                
                                            </asp:DropDownList>--%><b style="color: red">*</b>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">具体地址：</span>
                                </td>
                                <td colspan="2">
                                <input type="text" id="TextBox3" runat="server" />
                                    <%--<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>--%>
                                    <b style="color: red">*</b><asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator3" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox3"></asp:RequiredFieldValidator>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">地址坐标x,y：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox20" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox20" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator2" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox20"></asp:RequiredFieldValidator>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">地址灾害类型：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox4" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>--%>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">隐患面积：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox5" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>--%>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">周边居民数：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox6" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>--%>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">现场联系人1：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox7" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>--%><b style="color: red">*</b><asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator4" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox7"></asp:RequiredFieldValidator>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">联系人1电话：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox8" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>--%><b style="color: red">*</b>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">现场联系人2：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox9" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>--%>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">联系人2电话：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox10" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>--%>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">现场联系人3：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox11" runat="server" type="text" />
                                   <%-- <asp:TextBox ID="TextBox11" runat="server"></asp:TextBox>--%>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">联系人3电话：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox12" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox12" runat="server"></asp:TextBox>--%>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">上级单位1：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox13" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox13" runat="server"></asp:TextBox>--%>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">上级联系人1：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox14" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox14" runat="server"></asp:TextBox>--%>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">上级联系人1<br />
                                        电话：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox15" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox15" runat="server"></asp:TextBox>--%>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">上级单位2：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox16" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox16" runat="server"></asp:TextBox>--%>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">上级联系人2：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox17" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox17" runat="server"></asp:TextBox>--%>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <img src="images/p_3.jpg" width="12" height="12" />
                                </td>
                                <td style="text-align: left; width: 92px;" class="style1">
                                    <span class="style1" style="text-align: left; width: 92px;">上级联系人2<br />
                                        电话：</span>
                                </td>
                                <td colspan="2">
                                <input id="TextBox18" runat="server" type="text" />
                                    <%--<asp:TextBox ID="TextBox18" runat="server"></asp:TextBox>--%>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="part_7_right">
                        <img src="monitorimage/monitor.jpg" width="320" height="240" />
                        <br />
                        &nbsp;&nbsp;&nbsp;&nbsp;现场照片：<asp:FileUpload ID="FileUpload1" runat="server" />
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="part_7_w2">
                    <table>
                        <tr>
                            <td>
                                <div>
                                </div>
                                <div>
                                    <asp:Label ID="strStatus" runat="server" Font-Names="宋体" Font-Bold="True" Font-Size="9pt"
                                        Width="300" BorderStyle="None" BorderColor="White"></asp:Label>
                                </div>
                                <div style="height: 100px; padding: 10px 0; text-align: center; margin-top: 100px;">
                                    <asp:Button runat="server" Text="添加监测点" ID="Button1" OnClick="Button1_Click"></asp:Button>&nbsp;
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
                <br />
                <div class="clear" style="background: #eaebef;">
                </div>
            </div>
            <div class="part_2_7">
            </div>
        </div>
        <div class="part_7_3">
            <img src="images/10.jpg" width="789" height="13" /></div>
        <div style="width: 100%; height: 100px;">
        </div>
    </div>
</asp:Content>
